<template>
  <div class="header">
    <div class="header-left" @click="toHone">
      <span class="iconfont">
        &#xe624;
      </span>
    </div>
   
   <div class="header-titel">
       城市选择
   </div>

  </div>
</template>

<script>
export default {
    methods:{
        toHone(){
            this.$router.push('/')
        }
    }
};
</script>

<style scoped lang="stylus">

@import '~css/var.styl';
.header {
  width: 100%;
  line-height: 0.88rem;
  background: $bgColor;
  color: $textColor;
  font-size: 0.32rem;
  position relative

}
.header-left {
  width: 0.4rem;
  padding: 0 0.2rem;
  text-align: center;
  font-weight: 700;
  position absolute
}
.header-titel{
    text-align:center
}
</style>
